Page({
  data: {
    imageUrl: ["../../images/image1.jpg", "../../images/image2.jpg", "../../images/image3.jpg", "../../images/image4.jpg"],
    isLogin: false,
    country:''
  },
  onLoad(options) {
    let _self = this;
    let temp = wx.getStorageSync('userinfo');
    if (temp) {
      this.setData({
        isLogin: true
      });
    }
    wx.getStorage({
      key: 'country',
      success: function (resp) {
        _self.setData({country:resp.data});
      }
    });
  },
})